package com.uls.found.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.uls.common.annotation.Excel;
import com.uls.common.core.domain.BaseEntity;

/**
 * 报失记录对象 edu_report_record_loss
 * 
 * @author ruoyi
 * @date 2024-10-30
 */
public class EduReportRecordLoss extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 报失ID */
    private Integer lostId;

    /** 学生ID */
    @Excel(name = "学生ID")
    private Long studentId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String userName;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    /** 报失物品名称 */
    @Excel(name = "报失物品名称")
    private String itemName;

    /** 报失物品描述 */
    @Excel(name = "报失物品描述")
    private String itemDescription;

    /** 报失时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "报失时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lostTime;

    /** 报失地点 */
    @Excel(name = "报失地点")
    private String lostLocation;

    /** 电话联系 */
    @Excel(name = "电话联系")
    private String phone;

    /** 身份证号码 */
    @Excel(name = "身份证号码")
    private String idNumber;

    /** 物品分类 */
    @Excel(name = "物品分类")
    private Long itemCategories;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    /** 删除人 */
    @Excel(name = "删除人")
    private String deleteBy;

    /** 删除时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "删除时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deleteTime;

    /** 删除标志（0代表存在 2代表删除） */
    private Integer delFlag;

    public void setLostId(Integer lostId) 
    {
        this.lostId = lostId;
    }

    public Integer getLostId() 
    {
        return lostId;
    }

    public Long getStudentId() {
        return studentId;
    }

    public void setStudentId(Long studentId) {
        this.studentId = studentId;
    }

    public void setItemName(String itemName)
    {
        this.itemName = itemName;
    }

    public String getItemName() 
    {
        return itemName;
    }
    public void setItemDescription(String itemDescription) 
    {
        this.itemDescription = itemDescription;
    }

    public String getItemDescription() 
    {
        return itemDescription;
    }
    public void setLostTime(Date lostTime) 
    {
        this.lostTime = lostTime;
    }

    public Date getLostTime() 
    {
        return lostTime;
    }
    public void setLostLocation(String lostLocation) 
    {
        this.lostLocation = lostLocation;
    }

    public String getLostLocation() 
    {
        return lostLocation;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setIdNumber(String idNumber) 
    {
        this.idNumber = idNumber;
    }

    public String getIdNumber() 
    {
        return idNumber;
    }
    public void setItemCategories(Long itemCategories) 
    {
        this.itemCategories = itemCategories;
    }

    public Long getItemCategories() 
    {
        return itemCategories;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }
    public void setDeleteBy(String deleteBy) 
    {
        this.deleteBy = deleteBy;
    }

    public String getDeleteBy() 
    {
        return deleteBy;
    }
    public void setDeleteTime(Date deleteTime) 
    {
        this.deleteTime = deleteTime;
    }

    public Date getDeleteTime()
    {
        return deleteTime;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("lostId", getLostId())
            .append("studentId", getStudentId())
            .append("itemName", getItemName())
            .append("itemDescription", getItemDescription())
            .append("lostTime", getLostTime())
            .append("lostLocation", getLostLocation())
            .append("phone", getPhone())
            .append("idNumber", getIdNumber())
            .append("itemCategories", getItemCategories())
            .append("remarks", getRemarks())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("deleteBy", getDeleteBy())
            .append("deleteTime", getDeleteTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
